<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2020/11/11
  Time: 下午5:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="static/bootstrap.min.css">
</head>
<body>

        <table class="table table-bordered table-striped">
            <tr class="success">
                <th>id</th>
                <th>商品名称</th>
                <th>卖点</th>
                <td>价格</td>
            </tr>
            <c:forEach items="${tbItemList}" var="item">
                <tr>
                    <td>${item.id}</td>
                    <td>${item.title}</td>
                    <td>${item.sellPoint}</td>
                    <td>${item.price}</td>
                </tr>
            </c:forEach>
        </table>

</body>
</html>
